package com.macw.ww_system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 链接
 * </p>
 *
 * @author Macw
 * @since 2020-01-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="CmsLink对象", description="链接")
public class CmsLink implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "链接ID")
    @TableId(value = "link_id", type = IdType.AUTO)
    private Integer linkId;

    @ApiModelProperty(value = "链接分类")
    private String linkType;

    @ApiModelProperty(value = "链接名称")
    private String linkName;

    @ApiModelProperty(value = "关键词")
    private String keywords;

    @ApiModelProperty(value = "链接")
    private String link;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "Logo")
    private String logo;

    @ApiModelProperty(value = "审核状态")
    private Integer auditState;

    @ApiModelProperty(value = "详情")
    private String detail;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "点赞数")
    private Integer upVote;

    @ApiModelProperty(value = "允许评论")
    private Integer commentFlag;

    @ApiModelProperty(value = "状态 0正常 1停用")
    private Integer status;


}
